\documentclass{article}
\usepackage{pstricks}
\usepackage{relsize}
\usepackage[tightpage,active]{preview}
\PreviewEnvironment{pspicture}
\PreviewBorder=0pt

\begin{document}
\newrgbcolor{lightpastel}{0.90 0.93 0.87}
   \psset{unit=0.5\textwidth}
   \begin{pspicture}(0,0)(1,1)
      \pscircle(0.3,0.5){0.005}
      \psline{->}(0.5,0.2)(0.5,0.8)
      \rput(0.535,0.77){$x$}
      \pspolygon[fillstyle=solid,fillcolor=lightpastel](0.8,0.8)(0.8,0.3)(0.7,0.2)(0.7,0.7)(0.8,0.8)
      \psline{->}(0.7,0.2)(0.775,0.275)
      \rput(0.67,0.28){$x$} \rput(0.79,0.24){$y$}
      \psline{->}(0.7,0.2)(0.7,0.3)
      \rput(0.30,0.45){\smaller\texttt{NoRoots()}}
      \rput(0.49,0.85){\smaller\texttt{OneRoot(x)}}
      \rput(0.75,0.15){\smaller\texttt{TwoRoots(x, y)}}
   \end{pspicture}

\end{document}

